/* :root {
  --dark-background-g: #333;
  --dark-background-w: #555;
  --dark-background-e: #7c7c7c;
  --dark-text-0: #ccc;
  --dark-text-3: #ccc;
  --dark-text-4: #c0c0c0;
  --dark-text-5: #999;
  --dark-text-9: #7c7c7c;
  --dark-text-a: #000;
} */
html {
  /* mode */
  --background-g: var(--dark-background-g, var(--default-background-g));
  --background-w: var(--dark-background-w, var(--default-background-w));
  --background-e: var(--dark-background-e, var(--default-background-e));
  --text-0: var(--dark-text-0, var(--default-text-0));
  --text-3: var(--dark-text-3, var(--default-text-3));
  --text-4: var(--dark-text-4, var(--default-text-4));
  --text-5: var(--dark-text-5, var(--default-text-5));
  --text-9: var(--dark-text-9, var(--default-text-9));
  --text-a: var(--dark-text-a, var(--default-text-a));
  --default-background-g: rgb(253, 230, 224);
  --default-background-w: #fff;
  --default-background-e: #eee;
  --default-text-0: #000;
  --default-text-3: #333;
  --default-text-4: #444;
  --default-text-5: #555;
  --default-text-9: #999;
  --default-text-a: #fff;
  /* / mode */
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, Helvetica Neue,
    PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background: var(--background-g);
  font-size: 14px;
  color: var(--text-0);
}

html,
body,
#cnblogs_post_body pre code,
#catalog,
#links,
#sideBar {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  cursor: pointer;
}

a,
a:hover,
a:link,
a:visited {
  text-decoration: none !important;
}

ol,
ul {
  list-style: none;
}

::selection {
  background: var(--themeColor);
  color: var(--text-a);
}

body::-webkit-scrollbar {
  display: block;
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--themeColor);
}

body::-webkit-scrollbar-track {
  background: 0 0;
  border-radius: 2px;
}

.icon {
  width: 1rem;
  height: 1rem;
  vertical-align: -0.15rem;
  fill: currentColor;
  overflow: hidden;
  color: inherit;
}

.disable-hover {
  pointer-events: none;
}

.mode-change,
.mode-change #navigator,
.mode-change #mainContent,
.mode-change #sidebar_news,
.mode-change #sidebar_postcategory,
.mode-change #catalog {
  transition: all 0.3s cubic-bezier(0.76, 0.34, 1, 1) 0s;
}

#mode-change {
  margin-left: .2rem;
}

#mode-change .icon {
  width: 0.8rem;
  cursor: pointer;
}

.mode-btn-rotate {
  animation: changeModeRotate 20s linear infinite;
}

/* 初始化 end */
/* header start */
/* loading隐藏后home显示 */
#home {
  display: block;
}

#blogTitle {
  display: none;
}

#navigator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: var(--background-w);
  color: var(--text-9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.2s;
}

.navigator-hide {
  transform: translateY(-100%);
}

#navigator > a {
  position: relative;
  margin-left: 0.2rem;
}
#navList,
#navigator .blogStats {
  display: flex;
  height: 100%;
}

#navigator .blogStats {
  font-size: 0.16rem;
}

#navList {
  width: 42%;
  margin-left: 0.2rem;
}

#navList li {
  height: 100%;
}

#navList li a,
#navigator .blogStats span {
  display: flex;
  align-items: center;
  display: block;
  height: 100%;
  line-height: 1rem;
  padding: 0 0.293rem;
}

#navList li a:hover {
  background-color: var(--themeColor);
  color: #fff;
  transition: all 0.3s;
}

/* header end */

/* main start*/
#main {
  padding-top: 1.2rem;
  display: flex;
  justify-content: center;
}
/* main end */

/* mainContent start*/
#mainContent {
  width: 50vw;
  border-radius: 2px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--background-w);
}

.entrylist .entrylistTitle:not(:first-of-type),
.day .dayTitle:not(:first-of-type) {
  border-top: 1px solid hsla(0, 0%, 59.2%, 0.1);
}

.PostListTitle,
.entrylistTitle,
.dayTitle {
  border-bottom: 1px solid hsla(0, 0%, 59.2%, 0.1);
  padding: 0.267rem;
  color: var(--text-0);
}

.PostList,
.entrylistPosttitle,
.entrylistPostSummary,
.entrylistItemPostDesc,
.postTitle,
.postCon,
.postDesc {
  padding: 0.1rem 0.267rem;
}

.c_b_p_desc_readmore {
  display: table;
  margin-top: 0.1rem;
  padding: 0.05rem 0.1rem 0.05rem 0.15rem;
  border: 1px solid var(--themeColor);
  color: var(--themeColor);
  border-radius: 3px;
}

.c_b_p_desc_readmore .icon {
  width: 1em;
  height: 1.2em;
  vertical-align: middle;
}

.c_b_p_desc_readmore:hover .icon {
  transform: translateX(0.05rem);
  transition: all 0.2s;
}

.PostList {
  margin-left: 0;
}

.entrylistPosttitle .icon,
.postTitle .icon,
.PostListTitle .icon {
  width: 0.5rem;
  height: 0.5rem;
}

#topics .postDesc {
  padding: 0.1rem 0;
}

.entrylistPosttitle,
.postTitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 0.293rem;
  text-shadow: 5px 0px 10px var(--themeColor);
  color: var(--text-4);
}

.entrylistPosttitle:hover,
.postTitle:hover {
  transform: translateX(0.1rem);
  transition: all 0.2s;
}

.entrylistPosttitle .icon:hover,
.postTitle .icon:hover {
  transform: rotate(224deg);
  transition: all 0.2s ease-in 0s;
}

.entrylistPostSummary,
.c_b_p_desc,
.postCon {
  color: var(--text-5);
}

.postDesc2,
.entrylistItemPostDesc,
.postDesc {
  color: var(--text-9);
}

.postDesc2 {
  margin-top: 0.1rem;
}

#myposts {
  /*当前标签页*/
  margin-left: 0;
}
/* mainContent end*/

/* 常用链接 start */
.forFlow > .pager {
  display: none;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--themeColor);
}

/* 常用链接 start */

/* 日历 start */
#blogCalendar table,
#blogCalendar tbody,
#blogCalendar tr,
#blogCalendar td {
    display: block;
}
#blogCalendar tr:nth-child(1) tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.CalNextPrev a,
.CalNextPrev a {
  color: var(--themeColor);
}
.CalNextPrev a:hover,
.CalNextPrev a:hover {
  color: #00a1d6;
}
#blogCalendar tr:nth-child(2) {
    margin: 0.187rem 0 0.1rem;
    padding: 0 0.06rem;
}

#blogCalendar tr:not(:nth-child(1)) {
    display: flex;
    justify-content: space-between;
}

#blogCalendar tr:not(:nth-child(1)) td {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.4rem;
    height: 0.4rem;
}

.CalTodayDay {
    background-color: var(--themeColor);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7em;
}

#blogCalendar u {
    color: #00a1d6;
}
/* 日历 end */
/* 搜索 star t*/
.input_my_zzk {
  border: 1px solid #61aeee;
}
input.btn_my_zzk{
    border: none;
    background: var(--themeColor);
    color: #fff;
}
input.btn_my_zzk:hover {
  background: #61aeee;
  transition: background 0.3s;
}
/* 搜索 end */

/* 首页 start */
/* 分页器 start */
.topicListFooter {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0 0.5rem;
}

#nav_next_page {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  padding: 0.05rem 0.2rem;
  border-radius: 2px;
  background-color: #00a1d6;
  color: #fff;
}

#nav_next_page:hover {
  background-color: var(--themeColor);
  transition: background-color 0.2s;
}

.pager a {
  color: #fff;
  background-color: #00a1d6;
  border-color: #00a1d6;
  border-radius: 2px;
}

.pager a:hover {
  background-color: var(--themeColor);
  border-color: var(--themeColor);
  transition: all 0.2s;
}
/* 分页器 end */
/* 首页 end */

/* sideBar start */
#sideBar {
  max-width: 4.5rem;
  margin-left: 0.5rem;
  overflow: hidden;
}

#sideBar h3 .icon {
  margin-right: 0.1rem;
  width: 1.8em;
  height: 1.8em;
}

/* 公告 start */
#blog-news {
  display: flex;
  align-items: center;
}

#profile_block {
  margin-top: 0;
}
/* 公告 end */

/* 每个块的外层 */
#sidebar_news,
#blog-calendar,
#sidebar_search,
#sidebar_shortcut,
#sidebar_recentposts,
#sidebar_scorerank,
#sidebar_toptags,
#sidebar_postcategory,
#sidebar_postarchive,
#sidebar_recentcomments,
#sidebar_topviewedposts .catListView,
#sidebar_topcommentedposts .catListFeedback,
#topdigg_posts_wrap .catListView,
#catalog {
  background-color: var(--background-w);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  margin-bottom: 0.3rem;
  color: var(--text-3);
}

/* 每个小块的标题 */
#blogCalendar .CalTitle > tbody > tr,
#sideBar .catListTitle {
  font-weight: 700;
  font-size: 1.1em;
  border-bottom: 1px solid hsla(0, 0%, 59.2%, 0.1);
}

/* 每个小块的标题内容和标题padding */
#blogCalendar .CalTitle > tbody > tr,
#sideBar .catListTitle,
#sidebar_news #blog-news,
#blog-calendar,
#sidebar_search_box,
#sidebar_shortcut ul,
#sidebar_recentposts ul,
#sidebar_scorerank ul,
#sidebar_toptags ul,
#sidebar_postcategory ul,
#sidebar_postarchive ul,
#sidebar_recentcomments .RecentCommentBlock,
#TopViewPostsBlock,
#TopFeedbackPostsBlock,
#TopDiggPostsBlock,
#catalog ul {
  padding: 0.187rem 0.267rem;
}

#sidebar_search_box .icon,
#sidebar_shortcut ul li a .icon,
#sidebar_recentposts ul li a .icon,
.icon #sidebar_scorerank ul li a .icon,
#sidebar_toptags ul li a .icon,
#sidebar_postcategory ul li a .icon,
#sidebar_postarchive ul li a .icon,
#sidebar_recentcomments .RecentCommentBlock .icon,
#TopViewPostsBlock .icon,
#TopFeedbackPostsBlock .icon,
#TopDiggPostsBlock .icon,
#catalog ul li a .icon {
  width: 1.2em;
  height: 1.8em;
}

#sideBarMain ul li {
  padding-top: 0.1rem;
}

#sideBarMain ul li:hover {
  transform: translateX(0.15rem);
  transition: all 0.2s;
}

/*  sideBar end */

/* 随笔页 start */
/* 主要容器 */
#post_detail,
#blog-comments-placeholder,
#comment_form {
  padding: 0.4rem;
}

#post_detail .postTitle {
  padding: 0.1rem 0.267rem 0.1rem 0;
  font-size: 0.373rem;
  color: var(--text-5);
}

/* 文章标题icon */
#cnblogs_post_body > h1,
#cnblogs_post_body > h2 {
  display: flex;
  align-items: center;
}

#cnblogs_post_body > h1 .icon,
#cnblogs_post_body > h2 .icon {
  margin-right: 0.1rem;
  width: 1.2em;
  height: 1.2em;
}
/* 文章标题icon end*/

/* 随笔签名 */
#post-signature {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0.5333rem 0;
  padding: 15px;
  width: 100%;
  background-color: var(--background-w);
  border-left: 5px solid var(--themeColor);
}

#post-signature::before {
  content: "!";
  background-color: var(--themeColor);
  position: absolute;
  top: 14px;
  left: -12px;
  color: var(--text-a);
  width: 20px;
  height: 20px;
  border-radius: 100%;
  text-align: center;
  line-height: 20px;
  font-weight: 800;
  font-size: 14px;
}

#post-signature p:not(:nth-child(1)) {
  margin-top: 10px;
}
/* 随笔签名 end */

/* 随笔页关注推荐按钮 start */
#custom-post-btn {
  position: fixed;
  bottom: 6.8rem;
  right: 3.2rem;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 0.2rem;
}

#custom-post-btn #green_channel_digg {
  margin-top: 0.3rem;
}

#custom-post-btn #green_channel_follow,
#custom-post-btn #green_channel_digg {
  display: block;
  position: relative;
  box-sizing: border-box;
  background-color: var(--themeColor);
  text-align: center;
  width: 0.72rem;
  height: 0.72rem;
  line-height: 0.72rem;
  padding: 0;
  border-radius: 100%;
  opacity: 0.8;
  box-shadow: 0px 0px 6px var(--themeColor);
}

#custom-post-btn #green_channel_follow:hover,
#custom-post-btn #green_channel_digg:hover {
  color: #00a1d6;
  background: none;
  opacity: 0.8;
  box-shadow: none;
  transition: all 0.3s;
}

#custom-post-btn #green_channel_follow::before,
#custom-post-btn #green_channel_digg::before,
#custom-post-btn #green_channel_follow::after,
#custom-post-btn #green_channel_digg::after {
  box-sizing: inherit;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 100%;
}

#custom-post-btn #green_channel_follow::before,
#custom-post-btn #green_channel_digg::before {
  border: 2px solid transparent;
}

#custom-post-btn #green_channel_follow::after,
#custom-post-btn #green_channel_digg::after {
  border: 0 solid transparent;
}

#custom-post-btn #green_channel_follow:hover::before,
#custom-post-btn #green_channel_digg:hover::before {
  border-top-color: #00a1d6;
  border-right-color: #00a1d6;
  border-bottom-color: #00a1d6;
  transition: border-top-color 0.15s linear,
    border-right-color 0.15s linear 0.1s, border-bottom-color 0.15s linear 0.2s;
}

#custom-post-btn #green_channel_follow:hover::after,
#custom-post-btn #green_channel_digg:hover::after {
  border-top: 2px solid #00a1d6;
  border-left-width: 2px;
  border-right-width: 2px;
  transform: rotate(270deg);
  transition: transform 0.4s linear 0s, border-left-width 0s linear 0.35s;
}

/* 随笔页关注推荐按钮 end */
/* 返回顶部 start */
#back-to-top {
  position: fixed;
  bottom: 0.667rem;
  right: 2.8rem;
  width: 0.667rem;
  height: 0.667rem;
  border-radius: 50%;
  background-color: rgba(32, 28, 41, 0.86);
  color: #fff;
  text-align: center;
  line-height: 0.667rem;
  z-index: 11;
  font-size: 0.187rem;
  display: none;
  border: 0.053rem solid rgba(32, 28, 41, 0.26);
  box-shadow: 0 0 0.4rem rgba(16, 14, 23, 0.46);
  cursor: pointer;
  overflow: hidden;
}

#back-to-top .icon {
  width: 0.3rem;
  height: 0.55rem;
}

#back-to-top .flow {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  z-index: 12;
  background: rgba(32, 28, 41, 0.86);
}
#back-to-top .flow::before,
#back-to-top .flow::after {
  content: "";
  position: absolute;
  width: 5.333rem;
  height: 5.333rem;
  top: 0;
  left: 50%;
  background: #ffb3cc !important;
  background: linear-gradient(#f00, #f353a9) !important;
  opacity: 0.4;
  border-radius: 45%;
  transform: translate(-50%, -70%) rotate(0);
  animation: rotate 6s linear infinite;
  z-index: 10;
}
#back-to-top .flow::after {
  border-radius: 47%;
  background: #ffb3cc !important;
  background: linear-gradient(#f00, #f353a9) !important;
  opacity: 0.9;
  transform: translate(-50%, -70%) rotate(0);
  animation: rotate 10s linear -5s infinite;
  z-index: 20;
}
#back-to-top span {
  position: relative;
  top: 0;
  left: 0;
  width: 0.667rem;
  text-align: center;
  line-height: 0.667rem;
  font-weight: 900;
  z-index: 13;
}
#back-to-top #back2top-icon {
  display: none;
  font-size: 0.373rem;
}
#back-to-top:hover .percentage {
  display: none;
}
#back-to-top:hover #back2top-icon {
  display: block;
}
@keyframes rotate {
  0% {
    transform: translate(-50%, 0) rotateZ(0deg);
  }
  50% {
    transform: translate(-50%, -2%) rotateZ(180deg);
  }
  100% {
    transform: translate(-50%, 0%) rotateZ(360deg);
  }
}

/* 返回顶部 end */
/* markdown start*/
.cnblogs-markdown pre {
  margin: 0.267rem 0;
}

#cnblogs_post_body pre table {
  overflow-x: unset;
}

#cnblogs_post_body table{
  display: block;
  margin-top: 0.2rem;
  overflow-x: auto;
}

#cnblogs_post_body td,
.cnblogs-post-body th,
.cnblogs-post-body td {
  white-space: pre;
}

#cnblogs_post_body ol {
  padding-left: 30px;
}

#cnblogs_post_body img {
  max-width: 100%;
}

#cnblogs_post_body img,
#cnblogs_post_body ol li {
  margin-top: 10px;
}

#cnblogs_post_body p {
  line-height: 2;
}

#cnblogs_post_body a {
  color: #00a1d6;
}

#cnblogs_post_body p a:hover {
  color: var(--themeColor);
  transition: color 0.2s;
}

#cnblogs_post_body h1 {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--themeColor);
}

#cnblogs_post_body h1 svg {
  margin-right: 5px;
}

#cnblogs_post_body h2 {
  font-size: 20px;
}

#cnblogs_post_body h3 {
  font-size: 16px;
}

#cnblogs_post_body h1 {
  margin: 1rem 0 0.1333rem;
}
#cnblogs_post_body h1:first-of-type {
  margin-top: 0.5rem;
}
#cnblogs_post_body h2,
#cnblogs_post_body h3 {
  margin: 0.3rem 0 0.1333rem;
}

#cnblogs_post_body ul {
  margin-left: 0.4rem;
}

#cnblogs_post_body ul li {
  line-height: 0.5rem;
}

#cnblogs_post_body table,
.cnblogs-post-body table,
#cnblogs_post_body .hljs-ln-numbers,
#cnblogs_post_body .hljs-ln-code {
  border: none;
}

#cnblogs_post_body .hljs-ln-numbers {
  padding: 2px 0;
  text-align: center;
  color: var(--themeColor);
  user-select: none;
  word-break: normal;
}

#cnblogs_post_body .hljs-ln-code {
  padding: 02px 0.0933rem;
}

#cnblogs_post_body .hljs {
  display: block !important;
  padding: 0.5em !important;
  color: var(--hl-mono-1) !important;
  background: var(--hl-base) !important;
  border: none !important;
}

#cnblogs_post_body .hljs-tag {
  color: var(--hl-tag);
}

#cnblogs_post_body .hljs-comment,
#cnblogs_post_body .hljs-quote {
  color: var(--hl-mono-3);
  font-style: italic;
}

#cnblogs_post_body .hljs-doctag,
#cnblogs_post_body .hljs-formula,
#cnblogs_post_body .hljs-keyword {
  color: var(--hl-hue-3);
}

#cnblogs_post_body .hljs-deletion,
#cnblogs_post_body .hljs-name,
#cnblogs_post_body .hljs-section,
#cnblogs_post_body .hljs-selector-tag,
#cnblogs_post_body .hljs-subst {
  color: var(--hl-hue-5);
}

#cnblogs_post_body .hljs-literal {
  color: var(--hl-hue-1);
}

#cnblogs_post_body .hljs-addition,
#cnblogs_post_body .hljs-attribute,
#cnblogs_post_body .hljs-meta-string,
#cnblogs_post_body .hljs-regexp,
#cnblogs_post_body .hljs-string {
  color: var(--hl-hue-4);
}

#cnblogs_post_body .hljs-built_in,
#cnblogs_post_body .hljs-class .hljs-title {
  color: var(--hl-hue-6-2);
}

#cnblogs_post_body .hljs-attr,
#cnblogs_post_body .hljs-number,
#cnblogs_post_body .hljs-selector-attr,
#cnblogs_post_body .hljs-selector-class,
#cnblogs_post_body .hljs-selector-pseudo,
#cnblogs_post_body .hljs-template-variable,
#cnblogs_post_body .hljs-type,
#cnblogs_post_body .hljs-variable {
  color: var(--hl-hue-6);
}

#cnblogs_post_body .hljs-bullet,
#cnblogs_post_body .hljs-link,
#cnblogs_post_body .hljs-meta,
#cnblogs_post_body .hljs-selector-id,
#cnblogs_post_body .hljs-symbol,
#cnblogs_post_body .hljs-title {
  color: var(--hl-hue-2);
}

#cnblogs_post_body .hljs-emphasis {
  font-style: italic;
}

#cnblogs_post_body .hljs-strong {
  font-weight: 700;
}

#cnblogs_post_body .hljs-link {
  text-decoration: underline;
}

#cnblogs_post_body code {
  font-family: Lucida Console, Consolas, Monaco, Andale Mono, Ubuntu Mono,
    monospace !important;
  color: #c7254e !important;
  font-size: 0.87em !important;
  padding: 0 !important;
  margin: 0;
  word-break: break-word !important;
  border: none !important;
  background: none !important;
}

#cnblogs_post_body li code {
  font-size: 12px !important;
  font-weight: 700;
}

#cnblogs_post_body blockquote {
  margin-top: 0.2rem;
  padding: 0.1rem 0.1rem 0.1rem 0.3rem;
  background: var(--background-e);
  border: none;
  border-left: 8px solid var(--themeColor);
}

#cnblogs_post_body blockquote p {
  line-height: 1.5;
}

#cnblogs_post_body pre {
  position: relative;
  padding-top: 10px;
  background: var(--hl-base);
  border-radius: 4px;
}

pre:hover {
  box-shadow: 1px 1px 10px red;
}

pre::before {
  border-radius: 4px;
  content: " ";
  display: block;
  height: 24px;
  background: url(https://guangzan.gitee.io/awescnb/assets/images/background/mac.png)
    no-repeat;
  background-size: 65px 23px;
  background-position-x: 10px;
}

/* markdown end */

/* 复制按钮 */
.copy-btns {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 10px;
  font-size: 0.5em;
  cursor: pointer;
  filter: invert(0.8);
}

/* 复制按钮 end */

/* 音乐播放器 start */
#iframe-music,
.music-APlayer {
  position: fixed;
  bottom: 0.2667rem;
  left: 0.1333rem;
}
/* 音乐播放器 end */

/* 随笔目录 start */
#catalog {
  min-height: 1.333rem;
  max-height: 11rem;
  width: 15vw;
  font-size: 14px;
  overflow-y: scroll；;
  overflow-x: hidden;
  word-wrap: nowrap;
  text-overflow: ellipsis;
  background-color: var(--background-w);
  z-index: 9999;
}

#catalog ul li {
  margin-top: 0.067rem;
}

#catalog ul > li > a:hover {
  text-decoration: none;
}

#catalog .catalog-active {
  background: var(--themeColor);
  padding: 0.1rem 0.1rem;
  border-radius: 3px;
  transition: background 0.4s;
}

#catalog .catalog-active a {
  color: var(--text-a);
}

.catalog-sticky {
  position: fixed;
  top: 1.2rem;
  visibility: visible;
  transition: top 0.2s;
}

.catalog-sticky-left {
  position: fixed;
  top: 1.2rem;
  left: 0.2rem;
  transition: top 0.2s;
}

.catalog-sticky-right {
  position: fixed;
  top: 1.2rem;
  right: 0.2rem;
  transition: top 0.2s;
}

.catalog-scroll-up {
  top: 0.2rem;
}

.catalog-scroll-down {
  top: 1.2rem;
}

.h1-list {
  font-weight: 700;
}

.h1-list ~ .h2-list {
  margin-left: 0.7em;
}

.h2-list ~ .h3-list {
  margin-left: 1.4em;
}

/* 随笔目录结束 */

/* 文章末尾按钮 start */
#blog_post_info_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#blog_post_info {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0.8rem 0;
}

#BlogPostCategory,
#EntryTag,
#post_next_prev {
  margin-bottom: 0.1rem;
  font-size: 0.293rem;
}

#post_next_prev a:nth-child(3n + 1) {
  display: none;
}

#BlogPostCategory {
  order: 1;
}
#EntryTag {
  order: 2;
}
#post_next_prev {
  order: 3;
}
#blog_post_info {
  order: 4;
}

.postDesc {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  text-transform: uppercase;
}

#post-date {
  margin-left: 0.1rem;
}

.postDesc a:last-child {
  margin-left: 0.15rem;
}
#green_channel {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  padding: 0;
  width: auto;
  border: none;
}
#green_channel a,
#green_channel span {
  margin-right: 0.35rem;
  background: none;
  font-size: 0.267rem;
  border-radius: 2px;
  box-shadow: none;
}

#green_channel a:nth-child(1),
#green_channel a:nth-child(2),
#green_channel a:nth-child(3) {
  padding: 0.12rem 0.35rem;
}

#green_channel span {
  color: #fff !important;
  background-color: #ffb3cc;
}

#author_profile {
  display: flex;
  align-items: center;
  margin: 0 0.2rem 0 0;
  padding: 0;
  width: auto;
  order: -1;
}

#author_profile_follow {
  display: none;
}

#author_profile_detail {
  display: none;
}

.author_avatar {
  margin: 0;
  padding: 0;
  border-radius: 50%;
  transform: scale(0.6);
}
/* 文章末尾按钮 end */

/* 评论列表 starinfot */
.commentbox_title_left {
  display: none;
}
.feedback_area_title {
  padding: 10px 0;
  border-bottom: 2px solid var(--themeColor);
  font-weight: 700;
}

.feedbackListSubtitle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 5px;
  font-size: 0.1rem;
  color: #999;
}

.feedbackItem {
  padding: 10px 0;
}

#blog-comments-placeholder .feedbackItem:not(:nth-last-child(2)) {
  border-bottom: 1px dotted var(--themeColor);
}

#post-comments-list {
  margin-top: 0.4rem;
  width: 100%;
}

.avatar {
  /* width: 1.2rem;
  height: 1.2rem; */
  border: 1px solid #eee;
  border-radius: 50%;
  transform: scale(0.7);
}

.feedbackCon {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.feedbackCon .blog_comment_body {
  margin-left: 10px;
  padding: 0 0.2rem;
  background-color: var(--background-w);
  border: 1px solid #999;
  border-radius: 3px;
  color: var(--text-0);
  font-size: 0.25rem;
  max-width: 10rem;
  line-height: 2;
}

.blog_comment_body p :nth-child(1) {
  color: var(--themeColor);
}

.feedbackManage {
  margin-right: 0.2rem;
  order: 1;
}

.feedbackListSubtitle > a:last-of-type {
  color: #00a1d6;
}

.feedbackListSubtitle > a:last-of-type:hover {
  color: var(--themeColor);
  transition: all 0.2s;
}

#blog-comments-placeholder .layer {
  padding: 0 0.1rem;
  color: var(--text-a);
  background-color: var(--themeColor);
  border-radius: 3px;
  margin-right: 0.1rem;
  order: 0;
}

#blog-comments-placeholder .comment_date {
  margin: 0 0.1rem;
}

.feedbackCon br {
  display: none;
}

#blog-comments-placeholder .comment_actions a {
  padding-right: 0.1rem;
}

.comment_vote {
  font-size: 0.1rem;
  color: #999;
}
/* 评论列表 end */

/* 写评论 start */

#comment_form_container > p:nth-of-type(3),
#comment_form_container > a:first-of-type,
#divCommentShow,
#ad_text_under_commentbox,
#comment_nav,
#commentbox_opt > a,
#tip_comment2 {
  display: none;
}

#comment_form_container > p:last-of-type {
  color: var(--text-9);
}

#comment_form_container {
  position: relative;
}

#commentform_title {
  padding: 10px 0;
  border-bottom: 2px solid var(--themeColor);
  background: none;
  font-weight: 700;
}

#comment_form_container .commentbox_main,
#tbCommentBody {
  background: none;
}

#tbCommentBody {
  height: 1.5rem;
  min-height: 1.5rem;
  color: var(--text-5);
}

.comment_textarea {
  width: 100%;
  border-color: var(--text-9);
}

.commentbox_title {
  border-bottom-color: var(--text-9);
}

.commentbox_title:hover,
.comment_textarea:hover {
  border-color: var(--themeColor);
  transition: border-color 0.2s;
}

#btn_comment_submit {
  position: absolute;
  bottom: -0.2rem;
  right: 0;
  width: 1.4rem;
  height: 0.6rem;
  color: var(--text-a);
  border-radius: 4px;
  border: none;
  background-color: #00a1d6;
  user-select: none;
  outline: none;
  cursor: pointer;
  font-size: 0.187rem;
}

#btn_comment_submit:hover {
  background-color: var(--themeColor);
  transition: background-color 0.3s;
}

/* 写评论 end */

/* 广告 start */

#ad_t2 {
  margin-top: 0.8rem;
}

#cnblogs_c1,
#cnblogs_c2 {
  display: none;
}

/* 广告 end */

/* 历史上的今天 start */
#HistoryToday {
  display: none;
}
/* 历史上的今天 end */

/* 随笔页 end */

/* footer start */
#footer {
  display: none;
}
body footer {
  margin: 1rem 0 0;
  padding: 0.6rem 0;
  text-align: center;
  color: var(--text-9);
  border-top: var(--themeColor) 1px solid;
}
footer #links {
  display: flex;
  justify-content: center;
}

#links li:hover {
  text-shadow: 0 0 2px var(--themeColor);
}

#links > li:not(:first-child) {
  margin-left: 0.4rem;
}

#copyright {
  display: flex;
  flex-direction: column;
  margin-top: 0.2667rem;
}

#copyright span {
  margin-top: 0.1333rem;
}

#copyright a {
  font-weight: 700;
  color: var(--themeColor);
}

/* footer end */

/* 弹幕 start*/
#barrage-wrap {
  position: fixed;
  top: 1.2rem;
  width: 100vw;
  height: 40vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 20;
}

#barrage-wrap span {
  position: absolute;
  white-space: nowrap;
  font-size: 0.32rem;
  font-weight: 700;
}
/* 弹幕 end*/

/* 非移动端 start */
@media screen and (min-width: 767px) {
  #post_detail,
  #blog-comments-placeholder,
  #comment_form {
    font-size: 16px !important;
  }
}
/* 非移动端end */

/* 移动端 start */
@media screen and (max-width: 767px) {
  ::-webkit-scrollbar {
    display: none;
  }
  /* 覆盖博客园bundle start */
  .postBody {
    padding: 0;
  }
  img {
    max-width: 100% !important;
  }
  div.commentform textarea {
    width: 100%;
    height: 2.667rem;
  }
  /* 覆盖博客园bundle end */
  .postBody ul li {
    padding-top: 0.133rem;
  }
  #navigator > a {
    margin-left: 0;
  }
  #navList {
    width: auto;
  }
  #navigator .blogStats {
    display: none;
  }
  #mainContent {
    width: 95%;
  }
  #green_channel a:nth-child(1),
  #green_channel a:nth-child(2),
  #green_channel a:nth-child(3) {
    padding: 0.1rem 0.2rem;
  }
  #green_channel #green_channel_weibo,
  #green_channel #green_channel_wechat {
    padding: 0;
  }
  #div_digg {
    display: none;
  }
  #author_profile {
    display: none;
  }
  /* 首页 start */
  .postDesc a:last-child {
    display: none;
  }
  /* 首页 end */

  /* 随笔页 start */
  #custom-post-btn {
    display: none;
  }
  /* 写评论 start */
  .commentbox_title {
    margin-bottom: 0.1rem;
  }
  #tbCommentBody {
    width: 75%;
  }
  #btn_comment_submit {
    bottom: -0.1rem;
    padding: 0 0.2rem;
    width: auto;
  }
  /* 写评论 end */

  /* 评论列表 start */
  .feedbackCon .blog_comment_body {
    max-width: 5rem;
  }

  #blog-comments-placeholder .feedbackListSubtitle {
    font-size: 12px;
  }

  #blog-comments-placeholder .comment_date {
    width: 1.8rem;
    overflow: hidden;
    white-space: nowrap;
  }

  #blog-comments-placeholder .feedbackListSubtitle > a:last-of-type {
    width: 2.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* 评论列表 end */
  /* ... 底部 阅读（x） 评论（x） 编辑 start */
  #topics .postDesc {
    display: none;
  }
  /* ... 底部 阅读（x） 评论（x） 编辑 end */

  /* 底部广告 start */
  #ad_t2 {
    font-size: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* 底部广告 end */
  /* 随笔页 end*/

  /* 返回顶部按钮 start */
  #back-to-top {
    bottom: 0.4rem;
    right: 0.6rem;
  }
  /* 返回顶部按钮 end */

  /* footer 自定义链接 start */
  #links {
    width: 90vw;
    overflow-x: scroll;
    margin: 0 auto;
    white-space: nowrap;
  }
  /* footer 自定义链接 start */
  /* 菜单按钮 start */
  #side-btn-wrap {
    visibility: visible;
    position: fixed;
    bottom: 0.4rem;
    right: 0.5rem;
    padding: 0.35rem;
    background: #fff;
    box-shadow: 1px 1px 8px var(--themeColor);
    border-radius: 50%;
    z-index: 20;
  }

  #side-btn {
    position: relative;
    width: 25px;
    height: 25px;
    cursor: pointer;
  }

  #side-btn-burger {
    position: absolute;
    background: var(--themeColor);
    width: 100%;
    height: 3px;
    top: 50%;
    right: 0;
    margin-top: -1px;
    opacity: 1;
    transition: all 0.2s ease-in-out;
  }

  #side-btn-burger:after,
  #side-btn-burger:before {
    border-radius: 2px;
    background: var(--themeColor);
    position: absolute;
    width: 100%;
    height: 3px;
    content: "";
    display: block;
    transition: all 0.2s ease-in-out;
  }

  #side-btn-burger:before {
    top: 10px;
  }

  #side-btn-burger:after {
    bottom: 10px;
  }

  #side-btn.side-btn-active #side-btn-burger {
    background: 0 0;
  }

  #side-btn.side-btn-active #side-btn-burger:before {
    transition: all 0.2s;
    transform: rotate(45deg);
    top: 0;
  }

  #side-btn.side-btn-active #side-btn-burger:after,
  #side-btn.side-btn-active #side-btn-burger:before {
    transition: all 0.2;
  }

  #side-btn.side-btn-active #side-btn-burger:after {
    transition: all 0.3s;
    transform: rotate(-45deg);
    bottom: 0;
  }

  #side-btn.side-btn-active #side-btn-burger:after,
  #side-btn.side-btn-active #side-btn-burger:before {
    transition: all 0.2s;
  }
  /* 菜单按钮 end */
  /* 菜单 start */
  #sideBar {
    visibility: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    max-width: 100vw;
    background-color: var(--background-w);
    overflow-y: scroll;
    clip-path: circle(30px at calc(100%) 100%);
    z-index: 12;
  }

  #sidebar_news {
    margin-bottom: 0;
    border-bottom: 1px solid hsla(0, 0%, 59.2%, 0.1);
  }
  #blog-calendar,
  #catalog,
  #sidebar_news,
  #sidebar_postarchive,
  #sidebar_postcategory,
  #sidebar_recentcomments,
  #sidebar_recentposts,
  #sidebar_scorerank,
  #sidebar_search,
  #sidebar_shortcut,
  #sidebar_topcommentedposts .catListFeedback,
  #sidebar_toptags,
  #sidebar_topviewedposts .catListView,
  #topdigg_posts_wrap .catListView {
    margin-bottom: 0;
  }
  #blogCalendar tr:not(:nth-child(1)) td {
    width: 0.8rem;
    height: 0.8rem;
  }
  /* 菜单 end */
}
/* 移动端 end */

/* 动画 start */

.fade-in {
  animation: fadeIn 1s ease-in 0s;
}

.fade-in-left {
  animation: fadeInLeft 1s ease-in 0s;
}

.fade-in-down {
  animation: fadeInDown 1s ease-in 0s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes changeModeRotate {
  to {
    transform: rotate(360deg);
  }
}
/* 动画 end */
